<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>列表</title>
</head>
<body>
<form action="#">
<!--    用list指向mydata-->
    <input type="text" list="mydata">
    <button>搜索</button>
</form>
<datalist id="mydata" style="width: 500px">
    <option value="data1">data1</option>
    <option value="data2">data2</option>
    <option value="data3">data3</option>
    <option value="data4">data4</option>
</datalist>

<hr>
<details>
    <summary>如何一夜暴富</summary>
    <p>22222222222</p>
</details>
</body>
</html>